<?php
namespace app\common\only\jy;

class SnapshotProductSpecs extends Base {
	protected $prefix = 'jy\\SnapshotProductSpecs';

	public function find4orderProduct($spid, $psid) {
		$model = $this->getModel('jy\\SnapshotProductSpecs');
		return $this->get('find4orderProduct_' . $spid . '_' .$psid, function($model, $spid, $psid) {
			return $model->where(['spid' => $spid, 'psid' => $psid])->find();
		}, [$model, $spid, $psid]);
	}
}